package cn.liontalk.api;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZhouZhe
 * @version 1.0
 * @description 测试Controller
 * @date 2018-12-03 20:09
 **/
@RestController
public class HelloController {


    @Value("${server.port}")
    private String port;

    @Value("${config_dev}")
    private String info;

    @GetMapping(value = "/hi")
    public String testHi(){
        return "Test Service Port Is :" + port+"! Config Info Is " + info;
    }

}
